neat way to print 2d array

18

import numpy as np
A = [['A', 'B'], ['C', 'D']]
print(np.matrix(A))

Comments

Submit
0 Comments